package com.healthcloud.service;

import com.healthcloud.entity.InstrumentEntity;
import com.healthcloud.utils.PageParam;


import java.util.List;

/**
 * Created by houxianghua on 2015/7/23.
 */
public interface InstrumentService {
    InstrumentEntity get(int id);

    List<InstrumentEntity> findByEntityAll(InstrumentEntity entity);

    List<InstrumentEntity> search(InstrumentEntity entity, PageParam pageParam);

    int count(InstrumentEntity entity);

    int save(InstrumentEntity entity);

    int update(InstrumentEntity entity);

    int logicalDelete(int id);

    int logicalDeletes(int[] ids);

    void saveBatch(List<InstrumentEntity> instrumentList);
}
